IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[cms_sp_SiteSelectOne]') AND type in (N'P', N'PC'))
	DROP PROCEDURE [dbo].[cms_sp_SiteSelectOne]
GO
create procedure [dbo].[cms_sp_SiteSelectOne]
@Id int
as
select 
	[SiteId] as Id,
	[SiteGroupId],
	[SiteName],
	[CreatedBy],
	[DateCreated],
	[LastUpdatedBy],
	[DateLastUpdated]
from [dbo].[Sites]
where [SiteId] = @Id


GO

